import { observable, action, useStrict, computed, asMap, toJS } from 'mobx';
import { Form } from 'weaver-mobile-page';
import * as emSDK from "../util/emSDK";



export class IntervenorStore {
    @observable form = new Form.Store({ route: '/req/intervenor' });

    @observable isShowSingInput = false;

    nodeName = "";

    @action
    setIsShowSingInput = (val) => {
        this.isShowSingInput = val;
    }

    setNodeName = val => {
        this.nodeName = val;
    }

    closeSignInput = () => {
        if (this.isShowSingInput) {//如果签字意见框打开
            this.isShowSingInput = false;
            emSDK.resetBottomBtn();
        }
    }
}